package com.whut.service;

import com.whut.model.Groupmember;

import java.util.List;

public interface GroupService {

    public Object getAllCandidateUser();
    public Object getOtherCandidate(int groupId);
    public Object getGroupByPage(int pageNum, int pageSize);
    public Object getGroupMembersByGroupId(int groupId);
    public String deleteGroupMember(int groupId,int userId);
    public String deleteGroupById(int groupId);
    public String addTeam(String groupName, List<Groupmember> teamMembers);
    public String addGroupMember(List<Groupmember> teamMembers);
    public Object getUserByVagueName(String userName);
    public int setHeader(Integer userId, Integer groupId);

    public int cancelHeader(int userId, int groupId);

    public int countHeader(Integer groupId);

    String discardByGroupId(int groupId);

    String freeByGroupId(int groupId);

    Object getGroupInfo();

}
